package com.wzu.zlb.ems;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@MapperScan(value = "com.wzu.zlb.ems.dao")
@ComponentScan(value = {"com.wzu.zlb.ems.controller","com.wzu.zlb.ems.service","com.wzu.zlb.ems"})
@EnableAsync
@EnableScheduling
@SpringBootApplication
public class EmsApplication {

    public static void main(String[] args) {
        SpringApplication.run(EmsApplication.class, args);
    }

}
